<template>
	<view class="securityCenter">
		<view class="box">
			<view class="change_phone" @click="gochange_phoneN(change_phoneN_path)">
				<view class="tro_icon1">
					<u-icon name="phone" color="#ff9800" size="28"></u-icon>
				</view>
				<text>更换手机号</text>
				<view class="tro_icon2">
					<u-icon name="arrow-right" color="#c7c7c7" size="18"></u-icon>
				</view>
			</view>
			<view class="change_phone">
				<view class="tro_icon1">
					<u-icon name="minus-circle" color="#ff5a57" size="28"></u-icon>
				</view>
				<text>注销账号</text>
				<view class="tro_icon2">
					<u-icon name="arrow-right" color="#c7c7c7" size="18"></u-icon>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				change_phoneN_path:'../changePhoneN/changePhoneN'
			}
		},
		methods: {
			// 进入更换手机号页面
			gochange_phoneN(url){
				uni.navigateTo({
					url
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.securityCenter{
		width: 100%;
		height: 1400rpx;
		background: rgb(249,249,249);
		.box{
			width: 100%;
			background: rgb(255,255,255);
			.change_phone{
				width: 95%;
				height: 100rpx;
				margin-left: 40rpx;
				line-height: 100rpx;
				border-bottom: 2rpx solid rgb(249,249,249);
				display: flex;
				justify-content: space-start;
				position: relative;
				.tro_icon1{
					margin-top: 26rpx;
				}
				text{
					margin-left: 40rpx;
					font-size: 30rpx;
				}
				.tro_icon2{
					position: absolute;
					top: 28rpx;
					right: 20rpx;
				}
			}
		}
	}
</style>
